package com.lagou.dao;

import com.lagou.pojo.SysRegion;
import org.apache.ibatis.annotations.Insert;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Component;

@Mapper
@Component
public interface SysRegionDao {

    /**
     * 插入操作
     * */
    @Insert("INSERT INTO sys_region(region_name,region_code,region_level) VALUES(#{region_name},#{region_code},#{region_level})")
    public void insertDist(SysRegion sysRegion);

}
